package rad.framework.mda.perspective;

import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;

/**
 * @author boudyacho
 *
 */
public class PerspectiveFactory implements IPerspectiveFactory {

	/* (non-Javadoc)
	 * @see org.eclipse.ui.IPerspectiveFactory#createInitialLayout(org.eclipse.ui.IPageLayout)
	 */
	public void createInitialLayout(IPageLayout layout) {
		String navId = "rad.framework.mda.ModelNavigator";
		String editArea = layout.getEditorArea();
		layout.addView(navId,IPageLayout.LEFT, 0.25f, editArea);
		layout.addView(IPageLayout.ID_OUTLINE,IPageLayout.BOTTOM, 0.66f, navId);//75
		layout.addView(IPageLayout.ID_PROP_SHEET,IPageLayout.BOTTOM, 0.66f, editArea);
	}
}
